package com.flycent.hqhs.bean;

import net.tsz.afinal.annotation.sqlite.Id;
import net.tsz.afinal.annotation.sqlite.Table;

/**
 *  搜索历史
 * @author fbl
 */
@Table(name = "mSearchHistory_test")
public class MySearchHistory {
	@Id(column = "id")
	private int id;    
	/** 搜索的内容 */
	private String keyword;
	/** 该搜索的个数 */
	private String amount;
	/** 分类 */
	private String cate;
	/** cAmount */
	private String cAmount; 
	
	private boolean isCate;
	
	public MySearchHistory(String keyword) {
		super();
		this.keyword = keyword;
	}
	public MySearchHistory() {
		super();
	}
	
	public MySearchHistory(String keyword, String amount) {
		super();
		this.keyword = keyword;
		this.amount = amount;
	}
	public MySearchHistory(int id, String keyword, String amount) {
		super();
		this.id = id;
		this.keyword = keyword;
		this.amount = amount;
	}
	
	public MySearchHistory(String cate, String cAmount, boolean isCate) {
		super();
		this.cate = cate;
		this.cAmount = cAmount;
		this.isCate = isCate;
	}
	@Override
	public String toString() {
		return "MySearchHistory [id=" + id + ", keyword=" + keyword
				+ ", amount=" + amount + "]";
	}
	
	public boolean isCate() {
		return isCate;
	}
	public void setCate(boolean isCate) {
		this.isCate = isCate;
	}
	public String getCate() {
		return cate;
	}
	public void setCate(String cate) {
		this.cate = cate;
	}
	public String getcAmount() {
		return cAmount;
	}
	public void setcAmount(String cAmount) {
		this.cAmount = cAmount;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	public String getAmount() {
		return amount;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}
	
	
	

}
